package tables

import (
	"time"
)

type HomeBanner struct {
	Id        int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	Title     string    `xorm:"" json:"title" form:"title" mapstructure:"title"`
	Url       string    `xorm:"" json:"url" form:"url" mapstructure:"url"`
	Pic       string    `xorm:"" json:"pic" form:"pic" mapstructure:"pic"`
	MenuId    int       `xorm:"" json:"menu_id" form:"menu_id" mapstructure:"menu_id"`
	CreatedAt time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	State     int       `xorm:"" json:"state" form:"state" mapstructure:"state"`
	Acid      int       `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	SubMchId  string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
}
